<?php
/**
 * ===============================================
 * 版权所有 2019-2050 青岛铁锤科技有限公司，并保留所有权利。
 * 网站地址: http://www.huaxianling.com
 * ===============================================
 * Author: Alex
 * Created Time: 2019/6/24 10:52
 * Modified Time: 2019/6/24 10:52
 * Version: 2.0
 */
namespace App\Modules\Order\Transformers;
use League\Fractal\TransformerAbstract;
class OrderTransformer extends TransformerAbstract
{
	private $list;
	public function __construct($orderList)
	{
		$this->list = $orderList;
	}

	public function transform()
    {
        foreach ($this->list as $v) {
			$v->barber->pitcure;
        };
        return $this->list;
    }
}